package com.dd.cloud.user.service.chknowl;


import com.baomidou.mybatisplus.extension.service.IService;
import com.dd.cloud.user.entity.chknowl.ChnowlVideoRecord;
import com.dd.cloud.user.req.chknowl.ChkonwlVideoReq;
import com.dd.cloud.user.req.chknowl.ChnowlVideoReq;

/**
 * <p>
 * 观看视频记录 服务类
 * </p>
 *
 * @author czg
 * @since 2023-11-03
 */
public interface IChnowlVideoRecordService extends IService<ChnowlVideoRecord> {

    /**
     * 添加观看记录
     * @param chkonwlVideoReq
     */
    void addVideoRecord(ChnowlVideoReq chkonwlVideoReq);

    ChnowlVideoRecord queryVideoRecord(Integer chapterId);
}
